package com.youku.mson.type;

import com.youku.mson.util.TypeAdapter;

public class PairJsonValue implements JsonValue {

	private String key;

	private JsonValue value;

	public PairJsonValue(String key, JsonValue value) {
		this.key = key;
		this.value = value;
	}

	public String getKey() {
		return key;
	}

	public void setKey(String key) {
		this.key = key;
	}

	public JsonValue getValue() {
		return value;
	}

	public void setValue(JsonValue value) {
		this.value = value;
	}

	@Override
	public Object read(TypeAdapter adapter) {
		throw new RuntimeException("这个方法尚未实现");
	}

}
